package com.ruoyi.electricity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 风险预警管理对象 t_risk_warnings
 * 
 * @author wu
 * @date 2023-10-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TRiskWarnings
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 报警级别 */
    @Excel(name = "报警级别")
    private String alarmLevel;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;

    /** 报警类型名称 */
    @Excel(name = "报警类型名称")
    private String alarmTypeName;

    private String deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    private Integer handleStatus;

    private String handleAction;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String pictureUrl;

    /** 报警地点 */
    @Excel(name = "报警地点")
    private String alarmlocation;

    /** 报警设备 */
    @Excel(name = "报警设备")
    private String alarmdevice;

    /** 报警原因 */
    @Excel(name = "报警原因")
    private String alarmreason;

    /** 处置反馈信息 */
    @Excel(name = "处置反馈信息")
    private String disposalfeedbackinfo;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer delflag;



    /** 报警发送标记 */
    @Excel(name = "报警发送标记")
    private Integer alarmsendingmark;

    /** 报警回放地址 */
    @Excel(name = "报警回放地址")
    private String playbackurl;


}
